package com.xframe.common.core.service;

import com.xframe.domain.role.IUserCredentials;
import com.xframe.common.core.exception.BusinessException;
import com.xframe.domain.CommandModel;
/**
 * 命令模式接口
 *
 * @author xufeng
 * @date 2022-08-20
 * @version 1.0
 * */
public interface IProcCommandService {

    Object ProcCommand(CommandModel requestArgs, IUserCredentials userCredentials) throws BusinessException;

    String getBeanName();

    boolean needCheckToken();
}
